package org.azj.dbOperatorComponent;

public abstract class DbQueryOperation implements IDbQueryOperation{
	protected SelectCommand setSelectFilter(
			SelectFilter selectFilter, 
			String tableFullName)
	{
		SelectCommand selectCommand = new SelectCommand();
		selectCommand.columnList = selectFilter.getColumnList();
		selectCommand.whereFilter = selectFilter.getWhereFilter();
		selectCommand.havingFilter = selectFilter.getHavingFilter();
		selectCommand.orderByList = selectFilter.getOrderByList();
		selectCommand.groupByList = selectFilter.getGroupByList();
		selectCommand.distinct = selectFilter.getDistinct();
		selectCommand.tableName = tableFullName;
		return selectCommand;
	}
}
